#!/usr/bin/python
#coding:utf-8

from django.contrib import admin
from .models import user

# Register your models here.

class user_admin(admin.ModelAdmin):
    list_display = ('open_id', 'nickname', 'cellphone', 'wechat', 'sex')
    #readonly_fields = ('version', 'pub_date', 'war_path', 'sql_path')

admin.site.register(user, user_admin)